#include "shm.hpp"

int main()
{
    shm rshm(key,"Create");
    char* ret = (char*)rshm.getAddr();
    int cnt = 10;
    while(cnt--)
    {
        printf("%s\n",ret);
        sleep(1);
    }
    sleep(3);
    return 0;
}